#!/usr/bin/env python 
# -*- coding: utf-8 -*-
# @Time    : 2018/10/27 17:27
# @Author  : Tang Yang
# @Site    : 
# @File    : custom_exception.py


class DetectionError(Exception):
    def __init__(self, err="Detection error"):
        Exception.__init__(self, err)


class StitchingError(Exception):
    def __init__(self, err="Stitching error"):
        Exception.__init__(self, err)


class ConfigParseError(Exception):
    def __init__(self, err="Config parse error"):
        Exception.__init__(self, err)
